package com.hygj.service;

import com.hygj.baseUtil.BaseService;
import com.hygj.pojo.Role;
import com.hygj.pojo.UserRole;

import java.util.List;

public interface UserRoleService extends BaseService<UserRole> {

	
	List<Role> listRoles(Integer uid);


	/**
	 * 通过uid查rid
	 * @param uid
	 * @return
	 */
	UserRole queryRoleByUserId(Integer uid);
}
